package net.huashitong.ssydt.provider.exam.mapper;


import net.huashitong.ssydt.exam.entity.SsExamPaperQuestionRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsExamPaperQuestionRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SsExamPaperQuestionRecord record);

    int insertSelective(SsExamPaperQuestionRecord record);

    SsExamPaperQuestionRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsExamPaperQuestionRecord record);

    int updateByPrimaryKey(SsExamPaperQuestionRecord record);

    List<SsExamPaperQuestionRecord> findSequenceDescByRecordId(Long paperRecordId);

    SsExamPaperQuestionRecord getByPaperRecordIdWithQuestionId(SsExamPaperQuestionRecord ssExamPaperQuestionRecord);
}